<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我的</title>
    <link rel="stylesheet" href="{:C('__STATIC__')}{$theme}/Static/{:C('css')}/common.css"/>
    <link rel="stylesheet" href="{:C('__STATIC__')}{$theme}/Static/{:C('css')}/weChat_system.css"/>
    <if condition="$is_agent eq 1">
        <style>.step li {width: 20%;}</style>
    <else/>
        <style>.step li {width: 25%;}</style>
    </if>
    <script async="async">
        function resize() {
            var clientWidth = document.documentElement.clientWidth;
            document.documentElement.style.fontSize = 100 * (clientWidth / 750  ) + 'px';
        }
        resize();
        window.addEventListener('resize', resize);
    </script>
</head>
<body>
    <!--个人中心-->
    <div class="mine-top">
        <!--头部个人信息-->
        <div class="mine-message">
            <div class="mine-pic">
                <if condition="$self['avatar'] neq ''">
                    <img src="{$self['avatar']}"><else/>
                    <img src="__PUBLIC__/images/default.png">
                </if>
            </div>
            <div class="per-information">
                <span class="per-name">{$self['agent_name']|cut_str='8',###}</span>
                <span class="per-price">余额<i>：¥{$self["money"]}</i></span>
                <span class="per-tel">手机<i>:{$self["mobile"]}</i></span>
            </div>
        </div>
        <!--货物状态-->
        <ul class="step">
            <li>
                <a href="{:U('Order/index',array('state'=>'npay'))}">
                    <!--{:U('Spec/edit', array('id'=>$vo['id']))}-->
                    <img class="obligation" src="{:C('__STATIC__')}{$theme}/Static/img/mine1.jpg"/>
                    <span>待付款</span>
                    <notempty name="count_pay">
                    <span class="step-num">{$count_pay}</span>
                    </notempty>
               </a>
            </li>
            <li>
                <a href="{:U('Order/index',array('state'=>'is_d'))}">
                    <img class="wait-receiving" src="{:C('__STATIC__')}{$theme}/Static/img/mine2.jpg"/>
                    <span>待收货</span>
                    <notempty name="count_receive">
                    <span class="step-num">{$count_receive}</span>
                    </notempty>
                </a>
            </li>
            <li>
                <a href="{:U('Order/index',array('state'=>'to_d'))}">
                    <img class="send-good" src="{:C('__STATIC__')}{$theme}/Static/img/mine3.jpg"/>
                    <span>待发货</span>
                    <notempty name="count_send">
                    <span class="step-num">{$count_send}</span>
                    </notempty>
                </a>
            </li>


            <if condition="$is_agent eq 1">
                <li>
                    <a href="{:U('Order/index',array('state'=>'ncheck'))}">
                        <img class="check-pending" src="{:C('__STATIC__')}{$theme}/Static/img/mine4.jpg"/>
                        <span>待审核</span>
                        <notempty name="count_audit">
                        <span class="step-num">{$count_audit}</span>
                        </notempty>
                    </a>
                </li>
            </if>


            <li>
                <a href="{:U('Order/index')}">
                    <img class="all-orders" src="{:C('__STATIC__')}{$theme}/Static/img/mine5.jpg"/>
                    <span>全部订单</span>
                </a>
            </li>
        </ul>
    </div>

    <div class="mine-content">
        <ul class="mine_ul">
            <!--个人中心-->
            <li>
                <a href="{:U('Setting/self_detail')}">
                    <div class="ul-pic"><img src="{:C('__STATIC__')}{$theme}/Static/img/mine6.jpg" /></div>
                    <div class="ul-text">
                        <span class="ul-tit">个人中心</span>
                        <span class="ul-content">个人信息 快捷绑定</span>
                    </div>
                </a>
            </li>
            <!--数据统计-->
            <if condition="session('is_agent') eq 1">
            <li>
                <a href="{:U('Setting/count')}">
                    <div class="ul-pic"><img src="{:C('__STATIC__')}{$theme}/Static/img/mine7.jpg" /></div>
                    <div class="ul-text">
                        <span class="ul-tit">数据统计</span>
                        <span class="ul-content">用户利润账户变动明细</span>
                    </div>
                </a>
            </li>
            <!--代理中心-->
            <li>
                <a href="{:U('Agent/index')}">
                    <div class="ul-pic"><img src="{:C('__STATIC__')}{$theme}/Static/img/mine8.jpg" /></div>
                    <div class="ul-text">
                        <span class="ul-tit">代理中心</span>
                        <span class="ul-content">代理个人信息</span>
                    </div>
                </a>
            </li>
            <!--客户中心-->
            <li>
                <a href="{:U('Customers/index')}">
                    <div class="ul-pic"><img src="{:C('__STATIC__')}{$theme}/Static/img/mine9.jpg" /></div>
                    <div class="ul-text">
                        <span class="ul-tit">客户中心</span>
                        <span class="ul-content">客户个人信息</span>
                    </div>
                </a>
            </li>
            </if>
            <li>
                <a href="{:U('Recharge/rechargecenter')}">
                    <div class="ul-pic"><img src="{:C('__STATIC__')}{$theme}/Static/img/mine10.jpg" /></div>
                    <div class="ul-text">
                        <span class="ul-tit">充值中心</span>
                        <span class="ul-content">用户充值页面</span>
                    </div>
                </a>
            </li>
            <!--设置-->
            <li>
                <a href="{:U('Setting/index')}">
                    <div class="ul-pic"><img src="{:C('__STATIC__')}{$theme}/Static/img/mine11.jpg" /></div>
                    <div class="ul-text">
                        <span class="ul-tit">设置</span>
                        <span class="ul-content">个人设置界面</span>
                    </div>
                </a>
            </li>
        </ul>
    </div>

    <div class="interflow">
        <p class="hope">我们希望与您交流</p>
        <p class="at-any"><span>元</span><span>典</span><span>科</span><span>技</span><span>随</span><span>时</span><span>在</span><span>线</span></p>
    </div>

    <p style="background:transparent;height:0.95rem;width:100%;"></p>

    <div class="footer">
        <ul class="footer-tab">
            <li>
                <a href="{:U('Index/index', array('shop_id'=>session('url_shop_id')))}">
                    <i class="foot_bg"></i>
                    <span>首页</span>
                </a>
            </li>
            <li>
                <a href="{:U('Good/cate')}">
                    <i class="foot_bg1"></i>
                    <span>分类</span>
                </a>
            </li>
            <li>
                <a href="{:U('GoodShopcart/shopcart')}">
                    <i class="foot_bg2"></i>
                    <span>购物车</span>
                </a>
            </li>
            <li>
                <a href="{:U('Setting/personal')}">
                    <i class="foot_bg3 foot-this"></i>
                    <span>我的</span>
                </a>
            </li>
        </ul>
    </div>
</body>
</html>
